package com.mdd.admin.validate;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;
import com.mdd.common.validator.annotation.IDMust;

/**
 * 关于我们参数
 * @author cxt
 */
@Data
@ApiModel("关于我们更新参数")
public class AboutUsUpdateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @IDMust(message = "id参数必传且需大于0")
    @ApiModelProperty(value = "")
    private Integer id;

    @NotNull(message = "cooperation参数缺失")
    @ApiModelProperty(value = "商务合作")
    private String cooperation;

    @NotNull(message = "advertising参数缺失")
    @ApiModelProperty(value = "广告投放")
    private String advertising;

    @NotNull(message = "customer参数缺失")
    @ApiModelProperty(value = "客服热线")
    private String customer;

    @NotNull(message = "workdayTime参数缺失")
    @ApiModelProperty(value = "服务时间（工作日）")
    private String workdayTime;

    @NotNull(message = "holidaysTime参数缺失")
    @ApiModelProperty(value = "服务时间（节假日）")
    private String holidaysTime;

    @NotNull(message = "address参数缺失")
    @ApiModelProperty(value = "公司地址")
    private String address;

    @NotNull(message = "creator参数缺失")
    @ApiModelProperty(value = "创建者")
    private String creator;

    @NotNull(message = "mender参数缺失")
    @ApiModelProperty(value = "修改者")
    private String mender;

}
